package com.itheima.demo1Exception;
/*
自定义的编译时异常
	1.自定义的异常类必须继承RuntimeException
	2.重写RuntimeException的构造器
 */
public class AgeIllegalRuntimeException extends RuntimeException{
    public AgeIllegalRuntimeException(){
    }
    public AgeIllegalRuntimeException(String message){
        super(message);
    }
}
